package com.xkstream.client.api;

import com.xkstream.client.utils.RetrofitUtil;

/**
 * Created by xiaoyi on 2017/8/24.
 */

public class ChatroomApi {
    private ChatroomApi() {
        service = RetrofitUtil.getRetrofit().create(ChatroomService.class);
    }

    public ChatroomService service;

    private static class InnerHolder {
        public static final ChatroomApi sInstance = new ChatroomApi();
    }

    public static ChatroomApi getInstance() {
        return InnerHolder.sInstance;
    }
}
